package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仓库对象 warehouse
 * 
 * @author ruoyi
 * @date 2020-12-23
 */
public class    Warehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    private Long wId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String wName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String wUsername;

    /** 仓库位置 */
    @Excel(name = "仓库位置")
    private String wPosition;

    /** 创建日期 */
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date wDate;

    /** 备注 */
    @Excel(name = "备注")
    private String wRemark;
    /** 总金额 */
    @Excel(name = "备注")
    private Double money;

    /** 仓库状态 */
    private String wState;

    public void setwId(Long wId) 
    {
        this.wId = wId;
    }

    public Long getwId() 
    {
        return wId;
    }
    public void setwName(String wName) 
    {
        this.wName = wName;
    }

    public String getwName() 
    {
        return wName;
    }
    public void setwUsername(String wUsername) 
    {
        this.wUsername = wUsername;
    }

    public String getwUsername() 
    {
        return wUsername;
    }
    public void setwPosition(String wPosition) 
    {
        this.wPosition = wPosition;
    }

    public String getwPosition() 
    {
        return wPosition;
    }
    public void setwDate(Date wDate) 
    {
        this.wDate = wDate;
    }

    public Date getwDate() 
    {
        return wDate;
    }
    public void setwRemark(String wRemark) 
    {
        this.wRemark = wRemark;
    }

    public String getwRemark() 
    {
        return wRemark;
    }
    public void setwState(String wState) 
    {
        this.wState = wState;
    }

    public String getwState() 
    {
        return wState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("wId", getwId())
            .append("wName", getwName())
            .append("wUsername", getwUsername())
            .append("wPosition", getwPosition())
            .append("wDate", getwDate())
            .append("wRemark", getwRemark())
            .append("wState", getwState())
            .toString();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
